﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using RBOSS.Business.VendorModule;

namespace RBOSS.WebUI
{
    public partial class VendorData : System.Web.UI.Page
    {
        VendorProfile_sys vProfile = new VendorProfile_sys();
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!Page.IsPostBack)
            {
                vProfile = vProfile.getvendordata((string)Session["email"]);
                txtCity.Text = vProfile.City;
                txtCountry.Text = vProfile.Country;
                txtFirstName.Text = vProfile.FirstName;
                txtLastName.Text = vProfile.LastName;
                txtPhone.Text = vProfile.PhoneNo;
                txtPostalCode.Text = vProfile.PostalCode;
                txtProvience.Text = vProfile.Province;
                txtUserEmail.Text = vProfile.Email;

            }
        }
    }
}